<template>
  <div class="mask" v-show="isShow">
    <div class="out">
      <img src="../../assets/img/loding.gif" alt="" />
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      isShow: false
    }
  }
}
</script>

<style lang="scss" scoped>
.mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.out {
     img{
       width: 200px;
       height: 150px;
     }
}
</style>
